import request from '@/utils/request'


export default {
    // 分页条件查询标签列表
    uploadImg(data = {}) {
        return request({ // Promise
            url: `/article/file/upload`,
            method: 'post',
            data

        })
    },
    deleteImg(imageUrl) {
        return request({ // Promise
            url: `/article/file/delete`,
            method: 'delete',
            params: {
                fileUrl: imageUrl
            }

        })
    },


}